﻿@model Home.WebUI.Areas.NewAdmin.Controllers.PNewsEdit
@{
    ViewBag.SidebarId = 32;
    ViewBag.Title = "编辑新闻分类";
    Layout = "~/Areas/NewAdmin/Views/Shared/_Layout.cshtml";
}
@section scripts{
      <script type="text/javascript" src="~/Scripts/jquery.validate.min.js"></script>
    <script type="text/javascript" src="~/Scripts/jquery.validate.extension.js"></script>
    <script type="text/javascript" src="~/Scripts/messages_zh.js"></script>
    @Model.UniValidate.JsValidate
    }
@section loadend{}
@section navigation{
    <li><a href="@Url.Action("index")">新闻分类列表</a> <span class="divider">/</span></li>
    }

                 <form class="form-horizontal" method="post" action="@Url.Action("Edit")">
  <fieldset>
    <legend>新闻分类内容</legend>
    <div class="control-group">
      <label class="control-label" for="Title" >标题</label>
      <div class="controls">
        @Html.TextBoxFor(m=>m.Title)
      </div>
    </div>
       <div class="form-actions">
            <button type="submit" class="btn btn-primary">保存</button>
           <a href="@Url.Action("index")" class="btn">取消</a>
          </div>

  </fieldset>
</form>